package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.SysUser;
import com.gxa.p2p.pojo.UserRegister;
import io.swagger.models.auth.In;

public interface UserRegisterMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserRegister record);

    int insertSelective(UserRegister record);

    UserRegister selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserRegister record);

    int updateByPrimaryKey(UserRegister record);
    //注册方法
    Integer save(UserRegister userRegister);
    //登录方法
    UserRegister login(String username, String password);

    UserRegister findUsername(String username);
    Integer upDataP(String phonenumber,String password);
    UserRegister findPhoneNumber(String phonenumber);


}